# -*- coding: utf-8 -*-
# File : common_util.py
# Author: taoyahui
# Date : 2021/4/5
import time


def current_time_format():
    return time.strftime("%Y.%m.%d", time.localtime())


# 判断输入的key值是否在字典中
def has_keys(dic, *keys):
    for k in keys:
        if k not in dic.keys():
            return False
    return True
